import Layout from '@/layout'
export default {
  path: '/',
  component: Layout,
  meta: { title: '商品管理', icon: 'tree' },
  children: [
    {
      path: '/goods',
      component: () => import('@/views/commodityManagement/commodity/index'),
      name: 'goods',
      meta: { title: '商品列表' }
    },
    {
      path: '/goods/add',
      component: () => import('@/views/commodityManagement/commodity/AddGoods/index'),
      name: 'goodsAdd',
      meta: { title: '添加商品' }
    },
    {
      path: '/params',
      component: () => import('@/views/commodityManagement/params/index'),
      name: 'params',
      meta: { title: '分类参数' }
    },
    {
      path: '/categories',
      component: () => import('@/views/commodityManagement/categories/index'),
      name: 'categories',
      meta: { title: '商品分类' }
    }
  ]

}

